home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Development Tools & Languages / Dylan Related / Mindy-1.1 (sources only) / mindy-1.1 / libraries / streams / GNUmakefile next >
Encoding:
Makefile  |  1994-06-29  |  1.6 KB  |  50 lines  |  [TEXT/ttxt]

  1. ######################################################################
  2. ##
  3. ## Copyright (c) 1994  Carnegie Mellon University
  4. ## All rights reserved.
  5. ## 
  6. ## Use and copying of this software and preparation of derivative
  7. ## works based on this software are permitted, including commercial
  8. ## use, provided that the following conditions are observed:
  9. ## 
  10. ## 1. This copyright notice must be retained in full on any copies
  11. ##    and on appropriate parts of any derivative works.
  12. ## 2. Documentation (paper or online) accompanying any system that
  13. ##    incorporates this software, or any part of it, must acknowledge
  14. ##    the contribution of the Gwydion Project at Carnegie Mellon
  15. ##    University.
  16. ## 
  17. ## This software is made available "as is".  Neither the authors nor
  18. ## Carnegie Mellon University make any warranty about the software,
  19. ## its performance, or its conformity to any specification.
  20. ## 
  21. ## Bug reports, questions, comments, and suggestions should be sent by
  22. ## E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
  23. ##
  24. ######################################################################
  25. ##
  26. ##  $Header: GNUmakefile,v 1.6 94/06/29 03:36:12 wlott Exp $
  27. ##
  28. ##  This is the makefile for the Mindy streams library, streams.dbc.
  29. ##
  30.  
  31. include ../../Config
  32.  
  33. MC = ../../comp/mc
  34. MINDYFLAGS = -lStreams
  35.  
  36. %.dbc: %.dylan
  37.     $(MC) ${MINDYFLAGS} -o $@ $<
  38.  
  39. OBJS = library.dbc internals.dbc streams-imp.dbc standard-io.dbc
  40.  
  41. streams.dbc: ${OBJS}
  42.     cat ${OBJS} > $@
  43.  
  44. clean:
  45.     rm -f ${OBJS} streams.dbc
  46.  
  47. install: streams.dbc
  48.     rm -f $(DESTDIR)/lib/streams.dbc
  49.     cp streams.dbc $(DESTDIR)/lib/streams.dbc
  50.